import request from '@/utils/request'

const mmkPay = {
    // 主页列表
    getList(query) {
        return request({
            url: '/com.mmk.reservation.api.OpenMmkHospitalPaidBackProvider/1.0.0/listMmkDrawbackPayment.html',
            method: 'post',
            data: query
        })
    },
    // 医院名称查询列表
    findHospitalList(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/hospitalDropDownWithPermission.html',
            method: 'post',
            data: query
        })
    },
    // 导出
    handleExport(query) {
        return request({
            url: '/com.mmk.reservation.api.OpenMmkHospitalPaidBackProvider/1.0.0/openExport.html',
            method: 'post',
            data: query,
            responseType: 'blob'
        })
    },
}


export default mmkPay